package runner.ui;

import javax.swing.*;
import javax.swing.tree.*;
import java.awt.*;
import java.awt.event.ItemEvent;
import java.awt.event.ItemListener;
import java.awt.event.MouseEvent;
import java.util.EventObject;

/**
 * Created with IntelliJ IDEA.
 * User: AVK
 * Date: 03.11.13
 * Time: 18:27
 * To change this template use File | Settings | File Templates.
 */
public class Tree extends JTree {
    Tree() {
        this.setCellRenderer(new Renderer());
        this.setCellEditor(new Editor(this));
        this.setEditable(true);
    }
    public Tree(TreeNode treeNode) {
        super(treeNode);
        this.setCellRenderer(new Renderer());
        this.setCellEditor(new Editor(this));
        this.setEditable(true);
    }





}
